package com.company.project.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Description:
 *
 * @author:
 * Date: 2020-04-08
 * Time: 17:47
 */
@Data
public class StudentDto {
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date brithday;

    private int age;

    private String nation;

    private String phone;

    private String email;

}
